package dao.auth;

import java.util.List;
import java.util.Map;

import model.auth.Resources;
import core.base.page.Page;
import core.base.page.PageRequest;

public interface ResourcesDao {

	int insert(Resources model);

	Resources getById(Long id);

	int deleteById(Long id);
	
	int deleteBatch(Long[] ids);
	
	List<Resources> queryByProperties(Map filter);

	Page<Resources> queryForPage(PageRequest<Map> pageReq);
}
